package com.framework.module_google

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.google.android.gms.auth.api.signin.GoogleSignInAccount

/**
 * @author: HeXinGen
 * @date: 2024/1/4
 * @descption:
 *
 * 测试谷歌api
 */
class TestActivity :AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        GoogleApi.authorizedLoginAndroidX(this,object : GoogleApi.GoogleApiListener<GoogleSignInAccount>{
            override fun success(result: GoogleSignInAccount) {

            }

            override fun error(e: Exception) {

            }
        })
    }
}